package com.apis.channel;


import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.dtos.NewsAuthDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmMaterialDto;
import com.usian.model.media.dtos.WmNewsPassDto;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.nio.channels.Channel;
/*
* 暴漏接口给别的服务使用
* */

public interface AdChannelControllerApi {
/*
* 分页的功能  根据名称去分页查询
* */
//媒体的通过或者驳回
public ResponseResult pass(@RequestBody WmNewsPassDto wmNewsPassDto);
    public ResponseResult fail(@RequestBody WmNewsPassDto wmNewsPassDto);

    //媒体的回显
    public ResponseResult meitihuixian(@PathVariable Integer id);

    public ResponseResult findByNameAndPage(@RequestBody  ChannelDto channelDto);

    public ResponseResult del( Integer id);

    public ResponseResult save(@RequestBody  AdChannel adChannel);

    public ResponseResult update(@RequestBody  AdChannel adChannel);

    public ResponseResult qc();

//媒体查询
    public ResponseResult meitilist (@RequestBody NewsAuthDto dto);
}
